/**
 * Created by zhouwei on 2017/4/14.
 */

import errCode from './errCode'

export default {
    errCode(code,success){
        let errCodeList = errCode.errCode.lists;
        for(let i = 0;i< errCodeList.length;i++){
            if(code == errCodeList[i].code){
                window.alert(errCodeList[i].message);
            }
        }
        window.f7.hideIndicator();
    }
}